   <hr class="clearfix" /> 
   <!-- Header -->
    <div id="header" class="container clearfix">
		
        <a href="<?php echo Yii::app()->request->hostInfo;?>" id="logo"><img src="<?php echo Yii::app()->theme->baseUrl;?>/assets/images/logo.png" alt="" /></a>
        <!-- Navigation -->
        <ul id="navigation">
            <li class="<?php echo  $this->id=='site'?'current':'';?>">
                <a href="<?php echo Yii::app()->request->hostInfo;?>">首页</a>
            </li>
            <li  class="<?php echo  $this->id=='blog'?'current':'';?>">
                <a href="<?php echo $this->createUrl('/blog');?>">博客</a>
                <?php 
					echo UtilTree::generateTreeByType(Category::CATEGORY_NEWS);
                ?>
            </li>
            <li class="<?php echo  $this->id=='work'?'current':'';?>">
                <a href="<?php echo Yii::app()->createUrl('/work'); ?>">轨迹</a>
				<?php 
					echo UtilTree::generateTreeByType(Category::CATEGORY_MEDIA,'work/list');
                ?>
            </li>
            <li  class="<?php echo  $this->id=='labs'?'current':'';?>">
                <a href="<?php echo Yii::app()->createUrl('/labs');?>">实验室</a>
                <?php 
					echo UtilTree::generateTreeByType(Category::CATEGORY_LAB,'labs/list');
                ?>
            </li>
            <li>
                <a href="<?php echo Yii::app()->theme->baseUrl;?>/assets/about.html">关于我们</a>
                <?php 
					echo UtilTree::generateTreeByType(Category::CATEGORY_ABOUT);
                ?>
            </li>
            <?php if (Yii::app()->user->isGuest):?>
              <li>
                <a href="<?php echo $this->createUrl('site/login');?>">登录</a>

            </li>          
            <?php else:?>
             <li>
                <a href="<?php echo $this->createUrl('/site/logout'); ?>">注销</a>

            </li>           
            <?php endif;?>
        </ul>
        <!-- /Navigation -->
        
    </div>
    <!-- /Header -->